<?php
	$ma = $_POST["ma"];
	$trangthai = $_POST["trangthai"];

	$sql = "UPDATE `dondathang` SET `matrangthai`=$trangthai WHERE `ma`=$ma";
	
	include"../../../code/DataProvider.php";
	DataProvider::ExecuteQuery($sql);
	header("location:../../index.php?act=4");
?>